﻿using SqlSugar;

namespace DongFangGuoKai.WCSPlatform.WebApi.Logs
{
    /// <summary>
    /// 表示日志实体
    /// </summary>
    public class LogModel
    {
        [SugarColumn(IsPrimaryKey = true)]
        public int Id { get; set; }
        /// <summary>
        /// 获取或设置机器名称
        /// </summary>
        public string MachineName { get; set; }

        /// <summary>
        /// 获取或设置记录时间
        /// </summary>
        public string Logged { get; set; }

        /// <summary>
        /// 获取或设置日志级别
        /// </summary>
        public string Level { get; set; }

        /// <summary>
        /// 获取或设置日志消息
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 获取或设置日志记录器 记录的类
        /// </summary>
        public string Logger { get; set; }

        /// <summary>
        /// 获取或设置调用位置  记录的方法
        /// </summary>
        public string Callsite { get; set; }

        /// <summary>
        /// 获取或设置异常信息
        /// </summary>
        public string Exception { get; set; }
    }
}
